export default function runCode({ vm, action, done, callbackData, module, additionalData }) {
  const codeContent = `function(vm, done, callbackData, additionalData, module){ ${action.extension.codeContent.value} }`
  try {
    Function('"use strict";return (' + codeContent + ')')()(vm, done, callbackData, additionalData, module)
  } catch (error) {
    console.log('执行条件error', error)
    done(null, {})
  }
}
